import service from '@/utils/request'

export const createDwsConfig = (data) => {
  return service({
    url: '/dwsConfig/createDwsConfig',
    method: 'post',
    data
  })
}

export const deleteDwsConfig = (data) => {
  return service({
    url: '/dwsConfig/deleteDwsConfig',
    method: 'delete',
    data
  })
}

export const updateDwsConfig = (data) => {
  return service({
    url: '/dwsConfig/updateDwsConfig',
    method: 'put',
    data
  })
}

export const findDwsConfig = (params) => {
  return service({
    url: '/dwsConfig/findDwsConfig',
    method: 'get',
    params
  })
}
